add_compile_definitions(AMQP_STATIC HAVE_SELECT)

CollectSourceFiles(${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES)
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})

add_library (librabbitmq STATIC ${PRIVATE_SOURCES})
target_include_directories(librabbitmq PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

target_link_libraries(librabbitmq PRIVATE emoney-core-interface)
set_target_properties(librabbitmq PROPERTIES FOLDER "dep")